import Field from "@model/entity/Field";

export type ShbFormUtilInitType = (
  fields: Field[], 
  origin: Record<string, any>, 
  callback: Function | undefined, 
  options: ShbFormUtilInitOptions
) => Record<string, any>;

export class ShbFormUtilInitOptions {
  // 是否使用字段默认值
  isUseFieldDefaultValue: boolean = true
}

export default {
  ShbFormUtilInitOptions
}